import { createComponent } from "./create-component"

export const StatusAnatomy = createComponent((props) => {
  const { palette, ...rest } = props
  return (
    <svg
      width={400}
      height={300}
      viewBox="0 0 400 300"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...rest}
    >
      <circle cx={154.873} cy={150} r={13.8734} fill={palette[3]} />
      <path
        d="M182.337 162V137.785H198.087V141.462H186.724V148.036H197.271V151.713H186.724V158.323H198.181V162H182.337ZM202.373 162V143.838H206.523V146.865H206.712C207.043 145.817 207.611 145.009 208.415 144.441C209.227 143.866 210.153 143.578 211.194 143.578C211.43 143.578 211.694 143.59 211.986 143.614C212.285 143.63 212.534 143.657 212.731 143.697V147.634C212.549 147.571 212.262 147.516 211.868 147.468C211.481 147.413 211.107 147.386 210.744 147.386C209.964 147.386 209.262 147.555 208.64 147.894C208.025 148.225 207.54 148.686 207.185 149.277C206.831 149.869 206.653 150.551 206.653 151.323V162H202.373ZM215.574 162V143.838H219.725V146.865H219.914C220.245 145.817 220.812 145.009 221.616 144.441C222.428 143.866 223.355 143.578 224.395 143.578C224.632 143.578 224.896 143.59 225.187 143.614C225.487 143.63 225.735 143.657 225.932 143.697V147.634C225.751 147.571 225.463 147.516 225.069 147.468C224.683 147.413 224.308 147.386 223.946 147.386C223.165 147.386 222.464 147.555 221.841 147.894C221.226 148.225 220.742 148.686 220.387 149.277C220.032 149.869 219.855 150.551 219.855 151.323V162H215.574ZM235.95 162.355C234.176 162.355 232.639 161.965 231.339 161.184C230.038 160.404 229.029 159.312 228.312 157.909C227.602 156.506 227.248 154.866 227.248 152.99C227.248 151.114 227.602 149.471 228.312 148.06C229.029 146.649 230.038 145.553 231.339 144.773C232.639 143.992 234.176 143.602 235.95 143.602C237.724 143.602 239.261 143.992 240.561 144.773C241.862 145.553 242.867 146.649 243.576 148.06C244.294 149.471 244.652 151.114 244.652 152.99C244.652 154.866 244.294 156.506 243.576 157.909C242.867 159.312 241.862 160.404 240.561 161.184C239.261 161.965 237.724 162.355 235.95 162.355ZM235.974 158.926C236.935 158.926 237.739 158.662 238.386 158.134C239.032 157.598 239.513 156.88 239.828 155.982C240.151 155.083 240.313 154.082 240.313 152.978C240.313 151.867 240.151 150.862 239.828 149.963C239.513 149.057 239.032 148.335 238.386 147.799C237.739 147.263 236.935 146.995 235.974 146.995C234.988 146.995 234.169 147.263 233.514 147.799C232.868 148.335 232.383 149.057 232.06 149.963C231.745 150.862 231.587 151.867 231.587 152.978C231.587 154.082 231.745 155.083 232.06 155.982C232.383 156.88 232.868 157.598 233.514 158.134C234.169 158.662 234.988 158.926 235.974 158.926ZM248.285 162V143.838H252.436V146.865H252.625C252.956 145.817 253.523 145.009 254.327 144.441C255.139 143.866 256.065 143.578 257.106 143.578C257.342 143.578 257.607 143.59 257.898 143.614C258.198 143.63 258.446 143.657 258.643 143.697V147.634C258.462 147.571 258.174 147.516 257.78 147.468C257.394 147.413 257.019 147.386 256.657 147.386C255.876 147.386 255.175 147.555 254.552 147.894C253.937 148.225 253.452 148.686 253.098 149.277C252.743 149.869 252.566 150.551 252.566 151.323V162H248.285Z"
        fill={palette[3]}
      />
    </svg>
  )
})
